Optimal. Leaf size=90 \[ \frac{4 c \sqrt{b x+c x^2} (5 b B-4 A c)}{15 b^3 x}-\frac{2 \sqrt{b x+c x^2} (5 b B-4 A c)}{15 b^2 x^2}-\frac{2 A \sqrt{b x+c x^2}}{5 b x^3} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0813891, antiderivative size = 90, normalized size of antiderivative = 1., number of steps used = 3, number of rules used = 3, integrand size = 22, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.136, Rules used = {792, 658, 650} \[ \frac{4 c \sqrt{b x+c x^2} (5 b B-4 A c)}{15 b^3 x}-\frac{2 \sqrt{b x+c x^2} (5 b B-4 A c)}{15 b^2 x^2}-\frac{2 A \sqrt{b x+c x^2}}{5 b x^3} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 792
Rule 658
Rule 650
Rubi steps
\begin{align*} \int \frac{A+B x}{x^3 \sqrt{b x+c x^2}} \, dx &=-\frac{2 A \sqrt{b x+c x^2}}{5 b x^3}+\frac{\left (2 \left (-3 (-b B+A c)+\frac{1}{2} (-b B+2 A c)\right )\right ) \int \frac{1}{x^2 \sqrt{b x+c x^2}} \, dx}{5 b}\\ &=-\frac{2 A \sqrt{b x+c x^2}}{5 b x^3}-\frac{2 (5 b B-4 A c) \sqrt{b x+c x^2}}{15 b^2 x^2}-\frac{(2 c (5 b B-4 A c)) \int \frac{1}{x \sqrt{b x+c x^2}} \, dx}{15 b^2}\\ &=-\frac{2 A \sqrt{b x+c x^2}}{5 b x^3}-\frac{2 (5 b B-4 A c) \sqrt{b x+c x^2}}{15 b^2 x^2}+\frac{4 c (5 b B-4 A c) \sqrt{b x+c x^2}}{15 b^3 x}\\ \end{align*}
Mathematica [A] time = 0.0300194, size = 54, normalized size = 0.6 \[ -\frac{2 \sqrt{x (b+c x)} \left (A \left (3 b^2-4 b c x+8 c^2 x^2\right )+5 b B x (b-2 c x)\right )}{15 b^3 x^3} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.004, size = 62, normalized size = 0.7 \begin{align*} -{\frac{ \left ( 2\,cx+2\,b \right ) \left ( 8\,A{c}^{2}{x}^{2}-10\,B{x}^{2}bc-4\,Abcx+5\,{b}^{2}Bx+3\,A{b}^{2} \right ) }{15\,{x}^{2}{b}^{3}}{\frac{1}{\sqrt{c{x}^{2}+bx}}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F(-2)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Exception raised: ValueError} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 2.00558, size = 131, normalized size = 1.46 \begin{align*} -\frac{2 \,{\left (3 \, A b^{2} - 2 \,{\left (5 \, B b c - 4 \, A c^{2}\right )} x^{2} +{\left (5 \, B b^{2} - 4 \, A b c\right )} x\right )} \sqrt{c x^{2} + b x}}{15 \, b^{3} x^{3}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{A + B x}{x^{3} \sqrt{x \left (b + c x\right )}}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A] time = 1.15484, size = 180, normalized size = 2. \begin{align*} \frac{2 \,{\left (15 \,{\left (\sqrt{c} x - \sqrt{c x^{2} + b x}\right )}^{3} B \sqrt{c} + 5 \,{\left (\sqrt{c} x - \sqrt{c x^{2} + b x}\right )}^{2} B b + 20 \,{\left (\sqrt{c} x - \sqrt{c x^{2} + b x}\right )}^{2} A c + 15 \,{\left (\sqrt{c} x - \sqrt{c x^{2} + b x}\right )} A b \sqrt{c} + 3 \, A b^{2}\right )}}{15 \,{\left (\sqrt{c} x - \sqrt{c x^{2} + b x}\right )}^{5}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]